home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / WebObjects / WebObjectsDoc_HTML / Reuse / ReusableComponentsEx / ObjectArrayEditorEx.wo / ObjectArrayEditorEx.wod < prev    next >
Encoding:
Text File  |  1996-03-11  |  825 b   |  41 lines

  1. ////////////////////////
  2. //  ObjectArrayEditor
  3. //  by Charles Lloyd
  4. ////////////////////////
  5.  
  6.  
  7.  
  8. SubmitEdits: WOSubmitButton {
  9.     action = processForm;
  10.     value = "Submit Changes";
  11. };
  12.  
  13. MyObjectArrayEditor: ObjectArrayEditor {
  14.     objectArray = localObjectArray;
  15.     labelArray = localLabelArray;
  16.     keyArray = localKeyArray;
  17.     columnWidthArray = localColumnWidthArray;
  18.     cellPadding = cellPadding;
  19.     cellSpacing = 0;
  20.     borderSize = 2;
  21.     fieldSize = 12;
  22.     isEditable = isEditable;
  23. };
  24.  
  25. ObjectValues: WOString {
  26.     value = localObjectArray;
  27. };
  28.  
  29. ToggleEditableButton: WOSubmitButton {
  30.     action = toggleEditable;
  31.     value = editableString;
  32. };
  33.  
  34. ShowSourceControls: ShowSource {
  35.     componentName = "ObjectArrayEditor";
  36. }; 
  37.  
  38. ComponentDescription: ComponentDescription {
  39.     componentName = "ObjectArrayEditor";
  40. };
  41.